//
//  EcgMeasureVc.h
//  CareRingApp
//
//  Created by Linktop on 2024/3/6.
//

#import "SuperTempVc.h"
#import "CADeviceInfo.h"
NS_ASSUME_NONNULL_BEGIN
@class SepLineView;

typedef NS_ENUM(NSUInteger, CA_ECG_MEA_STA) {
    CA_ECG_MEA_STA_INIT,           // 初始状态
    CA_ECG_MEA_STA_WAIT_LEADON,    // 等待手指检测
    CA_ECG_MEA_STA_MEASURING,      // 测量中
    CA_ECG_MEA_STA_DONE,           // 完成
    CA_ECG_MEA_STA_ERROR,          // 错误状态
    CA_ECG_MEA_STA_WAIT_NET_ANALY, // 等待网络解析
};

@interface CAEcgMeasureVc : SuperTempVc
@property(strong, nonatomic)CADeviceInfo *deviceInfo;
@end

@interface CAEcgMeasureVc(Test)

//-(void)printEcgResult:(CAEcgAlgorithmResults *)ecgResult;
-(SepLineView *)creatSepLine;
@end

NS_ASSUME_NONNULL_END
